import request from '@/utils/request'

// 查询人力资源-家庭信息列表
export function listHrBaseFamily(query) {
  return request({
    url: '/family/hrBaseFamily/list',
    method: 'get',
    params: query
  })
}

// 查询人力资源-家庭信息详细
export function getHrBaseFamily(id) {
  return request({
    url: '/family/hrBaseFamily/' + id,
    method: 'get'
  })
}

// 保存人力资源-家庭信息
export function saveHrBaseFamily(data) {
  return request({
    url: '/family/hrBaseFamily/save',
    method: 'post',
    data: data
  })
}

// 删除人力资源-家庭信息
export function delHrBaseFamily(id) {
  return request({
    url: '/family/hrBaseFamily/' + id,
    method: 'delete'
  })
}

// 导出人力资源-家庭信息
export function exportHrBaseFamily(query) {
  return request({
    url: '/family/hrBaseFamily/export',
    method: 'get',
    params: query
  })
}
